package com.albaba.designpattern.observer.text_003;

import com.albaba.designpattern.observer.text_002.LotteryResult;

import java.util.Random;

/**
 * @Description: TODO
 * @Author zx
 * @Date 2025/2/24 16:16
 * @Version 1.0
 */
public class Client {

    public static void main(String[] args) {
        LotteryServiceImpl lotteryService = new LotteryServiceImpl();
        LotteryResult lottery = lotteryService.lotteryAndMsg("693");

        System.out.println(lottery);
    }
}
